package org.cafeanimal.sqlite;

import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.Set;

/**
 *
 * @author michael
 */
public abstract class Constraint {
    protected final Set<Field> fields;

    public Constraint(Collection<Field> fields) {
        this.fields = new LinkedHashSet<Field>(fields);
    }
    
    public abstract String getSQL();
}
